class Skill extends Actor;

var float damage;
var int hitnumber;
var int accuracy;
var int status;
var int effect;
var int durration;
var bool forceCrit;
var bool fire;
var bool water;
var bool earth;
var bool wind;

enum statusType
{
     ST_none,
     ST_poison,
     ST_def,
     ST_atk,
     ST_agi,
     ST_mag,
     ST_acc,
     ST_mute,
     ST_virus,
     ST_stone,
     ST_berserk,
     ST_fireAttack,
     ST_waterAttack,
     ST_earthAttack,
     ST_windAttack
};

function int getAccuracy ()
{
   return accuracy;
}

function int getDamage ()
{
   return damage;
}

function int getHitNumber()
{
   return hitNumber;
}

function bool getCrit()
{
   return forceCrit;
}

function int getStatus()
{
   return status;
}

function int getFire ()
{
   if (fire)
   {
      return 1;
   }
   else
   {
      return 0;
   }
}

function int getWater ()
{
   if (water)
   {
      return 1;
   }
   else
   {
      return 0;
   }
}

function int getEarth ()
{
   if (earth)
   {
      return 1;
   }
   else
   {
      return 0;
   }
}

function int getWind ()
{
   if (wind)
   {
      return 1;
   }
   else
   {
      return 0;
   };
}

function int getEffect()
{
   return effect;
}

function int getDurration()
{
   return durration;
}
